package entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @author yousj
 * @since 2022/5/1
 */
@Data
@AllArgsConstructor
public class Book {

    private String index;
    private String name;
    private String url;
    private String desc;
    private double price;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date time;
}
